package com.banana.manager.forest.dao.handle;

import com.banana.manager.forest.entity.handle.DiscussBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface IDiscussDao extends BaseMapper<DiscussBean> {

    @Update("update discuss_info set fk_record_id = #{recordId} Where discuss_id = #{discussId}")
    void addDiscuss(@Param("recordId") Integer recordId, @Param("discussId") Integer discussId);
}
